package com.shop.shoporder.entity;

import java.io.Serializable;
import java.util.List;

public class Category implements Serializable {

    private Integer id;


    private String name;


    List<SubCategory> subCategoryList;//二级分类

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SubCategory> getSubCategoryList() {
        return subCategoryList;
    }

    public void setSubCategoryList(List<SubCategory> subCategoryList) {
        this.subCategoryList = subCategoryList;
    }
}
